package deibay.server.eventargs;

import deibay.messages.Message;
import deibay.users.User;

/**
 * @author   Joel Cordeiro
 */
public class ReceivedMessageEventArg extends EventArg{

	private Message message = null;
	private User user = null;
	
	public ReceivedMessageEventArg(User user, Message message)
	{
		this.message = message;
		this.user = user;
	}
	
	/**
	 * @return
	 * @uml.property  name="message"
	 */
	public Message getMessage()
	{
		return this.message;
	}
	
	/**
	 * @return
	 * @uml.property  name="user"
	 */
	public User getUser()
	{
		return this.user;
	}
}
